package cn.webrx;

public class Str1 {
    public static void main(String[] args) {
        int a = 10;
        String b = "5";
        System.out.println(a+b); //105 (String)字符串

        String s1 = "hello";
        String s2 = "java";
        System.out.println(s1+s2);//hellojava
        System.out.println(s1.concat(s2));

        char c1 = 'a';
        char c2 = 'Z';

        System.out.println((int)c1);
        System.out.println((int)c2);
        System.out.println(c1+c2);//90 + 97 = 187
    }
}
